package business.other.punish.impl;

import business.other.punish.EnvironmentPunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.EnterpriseDebtsBilking;
import other.domain.EnvironmentPunishInfo;
import other.domain.EnvironmentPunishInfoCriteria;
import other.mapper.EnvironmentPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "environmentPunishService")
public class EnvironmentPunishInfoServiceImpl implements EnvironmentPunishInfoService {
    @Autowired
    EnvironmentPunishInfoMapper environmentPunishInfoMapper;
    @Override
    public List<EnvironmentPunishInfo> getEnvironmentPunishInfo() {
        EnvironmentPunishInfoCriteria criteria = new EnvironmentPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return environmentPunishInfoMapper.selectByExample(criteria);
    }
}
